package nju.edu.desserthouse.model;

import java.io.Serializable;

import javax.persistence.*;

/**
 * Entity implementation class for Entity: Shop
 *
 */
@Entity
@Table(name = "shop")
public class Shop implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private int shop_id;
	private String shop_addr;
	
	public Shop(){
		super();
	}
	
	@Id
	public int getId(){
		return shop_id;
	}
	
	public void setId(int shop_id){
		this.shop_id = shop_id;
	}
	
	public String getAddr(){
		return shop_addr;
	}
	
	public void setAddr(String shop_addr){
		this.shop_addr = shop_addr;
	}
}
